package cate.common.table.show.row;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("头像框升级")
public class HeadFrameDevRow extends ERow {

    @NoteField("头像框ID")
    public int headFreamId;

    @NoteField("开始等级")
    public int startLevel;

    @NoteField("结束等级")
    public int endLevel;

    @NoteField("升级消耗")
    public String levelUpCost;

    @Override
    public void parse(XSSFRowWrap xr) {
        this.id = xr.getInteger("ID", 0);
        this.headFreamId = xr.getInteger("头像框ID", 0);
        this.startLevel = xr.getInteger("开始等级", 0);
        this.endLevel = xr.getInteger("结束等级", 0);
        this.levelUpCost = xr.getString("升级消耗");
    }
}
